import 'package:json_annotation/json_annotation.dart';
import 'banner_sub.dart';

part 'banner.g.dart';
@JsonSerializable()
@JsonSerializable(explicitToJson: true)

class BannerInfo {
  List<BannerSubItem> items;

  BannerInfo(this.items);

  factory BannerInfo.fromJson(Map<String, dynamic> json) => _$BannerInfoFromJson(json);

  Map<String, dynamic> toJson() => _$BannerInfoToJson(this);
}


